package com.yuda.campsite.mapper;

import com.yuda.campsite.domain.WorkForQianDuan;
import org.apache.ibatis.annotations.Param;

import java.util.*;
/**
 * @Author: xiaohudie
 * @Date: 2022/1/17 17:13
 * @Version: 1.8
 */
public interface WorkForQianDuanMapper {
    /**查看所有学校的列表(但是没用到)*/
    public List<WorkForQianDuan> ChaXunStudentTrue(@Param("campsiteId") String campsiteId);
    /**指定学生具体做哪个作业的方法*/
    public Integer ZhiDingZuoYe(@Param("workId") String workId,
                             @Param("studentId") String studentId,
                             @Param("campsiteId") String campsiteId);
    /**找出学生在order表中原来的workId*/
    public String XueShengWorkId (  @Param("studentId") String studentId,
                                    @Param("campsiteId") String campsiteId);

     /** 查看需要做这题学生的总数量*/
     public Integer WorkZhongShuLiang (@Param("workId") String workId);
     /** 查看所有已提交的作业数量*/
     public Integer YiTiJiaoShuLiang(@Param("workId") String workId);
     /**查看未评分的作业数量*/
     public Integer WeiPingFen (@Param("workId") String workId);
     /**查看已评分的作业数量*/
     public Integer YiPingFen (@Param("workId") String workId);
     /**查看这个学生当前的作业ID,进行判断和取消做作业操作*/
     public String ChaXunZuoYeId (@Param("studentId") String studentId,
                                  @Param("campsiteId") String campsiteId);
     /**前端回显使用接口*/
     public List<String> XuanZheHuiXian (@Param("campsiteId") String campsiteId,
                                         @Param("workId") String workId);
}
